package com.chenfan.finance.model.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class AliPayExpendExportVO {

    @Excel(name = "财务流水号", orderNum = "1")
    private String financeNo;

    @Excel(name = "主订单号", orderNum = "2")
    private String taobaoSoNo;

    @Excel(name = "子订单号",orderNum = "3")
    private String taobaoSoItemNo;

    @Excel(name = "退款单号", orderNum = "4")
    private String taobaoRefundNo;

    @Excel(name = "店铺支付宝账号", orderNum = "5")
    private String shopAlipayAccount;

    @Excel(name = "主订单支付日期", orderNum = "6")
    private LocalDateTime payDate;

    @Excel(name = "到账日期", orderNum = "7")
    private LocalDateTime receivedDate;

    @Excel(name = "货号", orderNum = "8")
    private String spuCode;

    @Excel(name = "存货编码", orderNum = "9")
    private String skuCode;

    @Excel(name = "退款数量", orderNum = "10")
    private Integer refundQty;

    @Excel(name = "申请退款金额", orderNum = "11")
    private BigDecimal actualRefundAmt;

    @Excel(name = "退款到账金额", orderNum = "12")
    private BigDecimal expenseAmt;

    @Excel(name = "账务流水号（逗号分割）", orderNum = "13")
    private String accountNos;

    @Excel(name = "到账年月", orderNum = "14")
    private String receivedMonth;

    @Excel(name = "商品名称", orderNum = "15")
    private String goodsName;

    @Excel(name = "税率", orderNum = "16")
    private BigDecimal priceWithoutTax;

    @Excel(name = "店铺id", orderNum = "17")
    private Integer shopId;

    @Excel(name = "店铺简称", orderNum = "18")
    private String shopNickname;

    @Excel(name = "对账结果",
            replace = {"成功_1", "失败_0"},
            orderNum = "19")
    private Integer checkFlag;

    @Excel(name = "入库单号", orderNum = "20")
    private String recordCode;


}
